<?php
framework::plugin('mysql');
class test{
    public $db;
    private $id;
    private $name;
    public function __construct(){
        $this->db = mysql::getInstance();    
    }
    public function getTest(){
        $res = $this->db->getAll("SELECT * FROM t",true); 
        return $res;
    }
}